package com.hellomeng.basedata;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class proTest {
    public static void main(String[] args) throws IOException {
        Properties properties = new Properties();
        ClassLoader loader = proTest.class.getClassLoader();
        InputStream is = loader.getResourceAsStream("test.properties");
        properties.load(is);
        String user = properties.getProperty("user");
        String age = properties.getProperty("age");
    }
}
